home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / GRAPHICS / BMPSAV.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-10-02  |  4KB  |  96 lines

  1. @Echo OFF
  2. CLS
  3. Echo Windows Bitmaps Screen Saver Install Routine for DOS Installation.
  4. IF NOT EXIST BITMAPS.TXT GOTO ERR1
  5. SET WD=
  6. IF EXIST E:\WIN\WIN.COM SET WD=E:\WIN
  7. IF EXIST E:\WINDOWS\WIN.COM SET WD=E:\WINDOWS
  8. IF EXIST D:\WIN\WIN.COM SET WD=D:\WIN
  9. IF EXIST D:\WINDOWS\WIN.COM SET WD=D:\WINDOWS
  10. IF EXIST C:\WIN\WIN.COM SET WD=C:\WIN
  11. IF EXIST C:\WINDOWS\WIN.COM SET WD=C:\WINDOWS
  12. IF NOT EXIST %WD%\WIN.COM GOTO ERR2
  13. IF NOT EXIST %WD%\SYSTEM\SYSTEM.DRV GOTO ERR2
  14. Echo .
  15. Echo Copying Bitmaps SCReen Blanker to %WD%
  16. COPY Bitmaps.SCR %WD%
  17. Echo .
  18. Echo Copying Bitmaps Executable File Too so you can Start it at will.
  19. Echo If YOU Add its Icon to your Menu/Program Manager Utitlites Menu.
  20. Echo .
  21. COPY BITMAPS.EXE %WD%
  22. Echo Copying Documentation & Registration File to %WD%
  23. Copy Bitmaps.Txt %WD%
  24. Echo .
  25. IF NOT EXIST VBRun300.DLL GOTO SKIPVBRUN
  26. IF NOT EXIST %WD%\SYSTEM\VBRun300.DLL Echo Copying VBRun300.DLL to System Dir
  27. IF NOT EXIST %WD%\SYSTEM\VBRun300.DLL COPY VBRUN300.DLL %WD%\SYSTEM
  28. :SKIPVBRUN
  29. IF NOT EXIST 1*.BMP GOTO NOBMPS
  30. Echo .
  31. Echo Copying Some Quality Sample Bitmaps!
  32. COPY *.BMP %WD%
  33. IF NOT EXIST %WD%\Bitmaps.SCR GOTO Err3
  34. IF NOT EXIST %WD%\Bitmaps.TXT GOTO Err3
  35. :NOBMPS
  36. IF NOT EXIST Install2.BAT GOTO SKP2
  37. IF NOT EXIST 1*.BMP GOTO SKP2
  38. CALL INSTALL2
  39. :SKP2
  40. Echo .
  41. Echo Displaying Documentation
  42. pause
  43. readme
  44. Echo .
  45. Echo Installation Completed! 
  46. Echo (You can Delete the files you ran this install from)
  47. Echo To Activate Bitmaps Screen Saver Run the Desktop Program in Program 
  48. Echo Manager's Control Panel and Choose Screen Saver and Set it to 
  49. Echo Bitmaps by DCI.  Set the desired screen saver delay time and if 
  50. Echo Windows is in a directory other than C:\WINDOWS run the Screen Saver 
  51. Echo Setup to set the proper path to the bitmaps. If this is a 
  52. Echo shareware/UN Paid for Version don't forget to register it if you use it   
  53. Echo for more than 30 Days.  Of course to use this screen saver you will
  54. Echo need some good quality (256 color) bitmap pictures worth being displayed.
  55. Echo This program expects by default for those bitmaps to be in your windows 
  56. Echo directory if they are elsewhere run the setup for this bitmaps Screen 
  57. Echo Saver in Control Panel's Screen Saver section and specify where they
  58. Echo are located. Now Displaying the full documentation. To see Docs again 
  59. Echo later Hit H or F1 for Help when Screen Saver is Running and Click on 
  60. Echo the View Documentation Button.
  61. Pause
  62. IF NOT EXIST %WD%\SYSTEM\VBRun300.DLL GOTO Err4
  63. GOTO END
  64. :ERR1
  65. Echo .
  66. Echo To Install This you must be on the Drive (A: or B:) OR in the Directory
  67. Echo that contains this Program!  Install Aborted.  Try Again.
  68. GOTO END
  69. :ERR2
  70. Echo .
  71. Echo I Could Not Find your Windows Directory!  You will have to Install this 
  72. Echo Manually. Or Try Running the SEtup Routine from Windows Program Manager.
  73. Echo Displaying Documention that includes Manualy Install Instructions
  74. Pause
  75. readme 
  76. GOTO END
  77. :ERR3
  78. Echo .
  79. Echo Installation did NOT Seem to Complete Suscessfully!
  80. Echo Could Not Find the 3 Files Bitmaps.SCR & Bitmaps.INI & Bitmaps.TXT 
  81. Echo in your Windows Directory!
  82. Echo Check your Free Disk Space and Try the Manual Installation.
  83. Echo Showing Documentation Now which contains Manual Install Instructions.
  84. Pause
  85. readme 
  86. GOTO END
  87. :ERR4
  88. IF EXIST %WD%\VBRun300.DLL GOTO END
  89. Echo Problem!  You will need the free utility VBRun300.DLL to be in your 
  90. Echo windows or Windows System Directory before you can use this program
  91. Echo It is available on many Bulletin Boards or from Us and is a common 
  92. Echo routine you would need to run any Visual Basic Ver 3 Application 
  93. Echo like this one.
  94. pause
  95. :END
  96.